<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use common\widgets\Alert;


?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <?= Html::cssFile('@web/css/index.css')?>
    <?= Html::cssFile('@web/css/reset.css')?>
    <?= Html::cssFile('@web/css/swiper.min.css')?>
    <!--base js-->
    <!--<meta content="yes" name="apple-mobile-web-app-capable">-->
    <script>
        window.scrollTo(0, 0);
    </script>

    
  <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/reset.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/jquery-1.9.1.min.js"></script>

    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/zepto.min.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/swiper.min.js"></script>
    <script type="text/javascript" src="<?= yii::getAlias('@web');?>/js/TouchSlide.js"></script>
    <title><?= Html::encode($this->title) ?></title>
    <style>
        .sear .swiper-slide{
            width: auto;
        }
        .sear .swiper-button-prev, .sear .swiper-container-rtl .swiper-button-next{
            left: -0.027rem;
        }
        .sear .swiper-button-next, .sear .swiper-container-rtl .swiper-button-prev{
            right: -0.027rem;
        }
        
    </style>
</head>

<body>
<?php $this->beginBody() ?>
    <?= $this->render('nomal_top.php'); ?>
    <?= $this->render('content.php',['content'=>$content]); ?>
    <?= $this->render('nomal_bottom.php'); ?>
<?php $this->endBody() ?>
</body>
        <?php if (isset($this->blocks['footer_scripts'])): ?>
        <?= $this->blocks['footer_scripts'] ?>
        <?php endif; ?>
</html>
<?php $this->endPage() ?>
